#include<stdio.h>

int AddToTarget(int begin,int end)
{
  int i=begin;
  int sum=0;
  while(i<=end)
  {
    sum+=i;
    i++;
  }
  return sum;
}

int main()
{


  printf("run begin...\n");

  int result=0;
  result=AddToTarget(1,100);
  printf("%d\n",result);

  printf("run end...\n");

  return 0;
}
